﻿<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Nourriture">
  <p>Liste des pizzas:
  <xsl:for-each select="//Pizza" >
    <ul>
      <xsl:apply-templates select="." />
    </ul>
    </xsl:for-each>
    </p>
</xsl:template>
<xsl:template match="//Pizza">
	<li>
	<b>Pizza <xsl:value-of select="@nom" /> </b><br />
	<i>Prix => <xsl:value-of select="@prix" /></i><br />
	Pizza composée de: 
	<xsl:for-each select="Ingredient">
		<xsl:apply-templates select="." />
	</xsl:for-each>
	
	
	</li>
</xsl:template>
<xsl:template match="Ingredient">
	<i><xsl:value-of select="." />,</i>
</xsl:template>

</xsl:stylesheet>
